
import requests
 
gudaima = "sz300622"
headers = {'referer': 'http://finance.sina.com.cn'}
resp = requests.get('http://hq.sinajs.cn/list=' + gudaima, headers=headers, timeout=6)
data = resp.text
print(data)
